package com.hellobike.haxing.modules.supplier.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 供应商合同表
 * @Author: haxing-boot
 * @Date:   2020-01-16
 * @Version: V1.0
 */
@Data
@TableName("t_supplier_contract")
public class TSupplierContract implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**id*/
	@TableId(type = IdType.AUTO)
    private java.lang.Long id ;
	/**供应商内部信息id*/
	@Excel(name = "供应商内部信息id", width = 15)
    private java.lang.Long supplierInfoId ;
	/**供应商名称*/
	@Excel(name = "供应商名称", width = 15)
        private java.lang.String supplierName ;
	/**供应商三方比价单*/
	@Excel(name = "供应商三方比价单", width = 15)
	private java.lang.String priceListUrl ;
	/**合同开始时间*/
	@Excel(name = "合同开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date startTime ;
	/**合同结束时间*/
	@Excel(name = "合同结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date endTime ;
	/**账期：1月结，2半月结，3周结，4日结*/
	@Excel(name = "账期：1月结，2半月结，3周结，4日结", width = 15)
	private java.lang.Integer accountPeriod ;
	/**保证金*/
	@Excel(name = "保证金", width = 15)
        private java.lang.String bondAmount ;
	/**发票表id*/
	@Excel(name = "发票表id", width = 15)
    private java.lang.Long invoiceId ;
	/**合同附件*/
	@Excel(name = "合同附件", width = 15)
        private java.lang.String contractEnclosureUrl ;
	/**状态：0已创建，1待审核，2审核通过，3审核拒绝，4过期*/
	@Excel(name = "状态：0已创建，1待审核，2审核通过，3审核拒绝，4过期", width = 15)
        private java.lang.Integer state ;
	/**审核不通过原因*/
	@Excel(name = "审核不通过原因", width = 15)
        private java.lang.String auditRemarks ;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private java.util.Date createTime ;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private java.util.Date updateTime ;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
        private java.lang.Integer createBy ;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
        private java.lang.Integer updateBy ;
	/**deleted*/
	@Excel(name = "deleted", width = 15)
      @TableLogic
      private java.lang.Integer deleted ;

	/**营业执照*/
	@TableField(exist = false)
	private java.lang.String businessLicense ;
	/**开户许可证*/
	@TableField(exist = false)
	private java.lang.String permitLicense ;
	/**法人身份证正面*/
	@TableField(exist = false)
	private java.lang.String idCradF ;
	/**法人身份证反面*/
	@TableField(exist = false)
	private java.lang.String idCradS ;
	/**品牌授权书*/
	@TableField(exist = false)
	private java.lang.String brandAuthorization ;
	/**商标注册证*/
	@TableField(exist = false)
	private java.lang.String trademarkLicense ;
	/**质检报告*/
	@TableField(exist = false)
	private java.lang.String qualityInspectionReport ;

}
